package experiment;

public class Array {
    public static void main(String[] args) {
        int[] array1=new int[]{12,4,56,48};
        int[][] array2=new int[][]{{1,2,3},{4}};
        System.out.println("array1:");
        for(int i=0;i< array1.length;i++) {

            System.out.print(array1[i]+" ");
        }
        System.out.println("");
        System.out.println("array2:");
        for(int i=0;i< array2.length;i++){
            for(int j=0;j<array2[i].length;j++){

                System.out.print(array2[i][j]+" ");
            }
            System.out.println("");
        }
    }
}
